/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tables.exploration;

import tables.Range;

/**
 *
 * @author Pete
 */
public enum PassageEnd implements tables.Tabulable {
    T_JUNCTION(new int[][] {{2, 3},{7, 8},{23, 24}}),
    LEFT_TURN(new int[][] {{4, 6}}),
    RIGHT_TURN(new int[][] {{9, 11}}),
    STAIRS_DOWN(new int[][] {{12, 16}}),
    STAIRS_OUT(new int[][] {{17, 20}}),
    DEAD_END(new int[][] {{21, 22}});
    
    Range range;
    
    public final static dice.Die Dice = dice.Die.TWO_D12; 
    
    private PassageEnd(int[][] pairs) {
        range = new Range(pairs);
    }
    
    @Override
    public Range getRange() {
        return range;
    }
}
